<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body th:fragment="main_game">
<div class="game_all">
    <div class="game" th:each="game : ${gameList}">
        <div class="game_l">
            <img class="game_img" th:src="${game.game_img.file_path}+${game.game_img.file_name}"  th:data-game-path="${game.game_path}" onclick="goGame(this.getAttribute('data-game-path'))"/>
        </div>
        <div class="game_r">
            <div class="g_r_t"><span class="g_text" th:text="${game.game_title}" th:data-game-path="${game.game_path}" onclick="goGame(this.getAttribute('data-game-path'))"></span></div>
            <div class="g_r_b"><span class="g_text" th:text="${game.game_nr}" th:data-game-path="${game.game_path}" onclick="goGame(this.getAttribute('data-game-path'))"></span></div>
        </div>
    </div>


    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/css/main/main_g.css" rel="stylesheet"/>
    <script src="/js/gj/jquery-3.5.1.min.js"></script>
    <script src="/js/main/main_g.js"></script>
</div>
</body>
</html>
